package com.dongdong.config;

import com.dongdong.util.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class idWorkerConfig {

    @Bean
    public IdWorker idWorker(){
        return new IdWorker();
    }
}
